<template>
  <div>
    <div>
      <h4>颈椎病患者VAS疼痛视觉评定</h4>
      <el-row type="flex" justify="space-around">
        <el-col :span="11">
          <div>
            <span>部位：</span>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="部位："
              style="width: 80%;margin-top: 10px"
              v-model="pgForm.jzbkfgn_aks2">
            </el-input>
          </div>
        </el-col>
        <el-col :span="11">
          <span>疼痛程度</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.jzbkfgn_aks3">
              <el-radio :label="0">无痛</el-radio>
              <el-radio :label="1">轻微痛</el-radio>
              <el-radio :label="2">比较痛</el-radio>
              <el-radio :label="3">非常痛</el-radio>
              <el-radio :label="4">剧痛</el-radio>
              <el-input
                placeholder="备注"
                v-model="pgForm.jzbkfgn_input3">
              </el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "cervical_spondylosis_vas",
  title: "颈椎病患者VAS疼痛视觉评定",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        jzbkfgn_aks2:'',
        jzbkfgn_aks3:'',
        jzbkfgn_input3:'',
      }
    }
  },

}
</script>

<style scoped>

.el-row {
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-radio-group{
  padding: 10px 20px;
}
.el-radio{
  display: block;
  margin-bottom: 15px;
}
</style>
